<#include "nav.ftl"/>
<#include "manage_top.ftl">
<html>
	<head>
		<script type="text/javascript" src="js/anime_info.js" ></script>
		<link rel="stylesheet" type="text/css" href="css/anime_info.css"/>
	</head>
	<body>
		<div class="middle">
			<div class="middle_left">
				<div class="akiba_panel">
					<div class="anime_context">
						<img class="anime_info_cover" src="${coverPath}${anime.cover_url}"/>
						<div class="info">
							<h4>${anime.name}</h4>
							<span>${anime.code}</span>
							</br>
							<div class="rateit" data-rateit-resetable="false"></div>
							</br>
							<span>
							声优：
							<#list anime.cvs as cv>
							<a href="search?cvId=${cv.id}">${cv.name}</a>
							</#list>
							</span>
							<#if anime.baike_url??>
							<span>
							</br>
							百度百科：
							<a href="${anime.baike_url!}" target="_blank">进入百科</a>
							</span>
							</#if>
						</div>
					</div>
				</div>
				<div class="akiba_panel">
					<h3 class="panel_title">
					<img src="images/like.png"/>
					</h3>
					<ul class="anime_context">
						<#list similarAnimes as similarAnime>
							<li class="siminal_anime">
								<a href="animeInfo?animeId=${similarAnime.id}">
									<img class="siminal_anime_cover" src="${coverPath}${similarAnime.cover_url}"/>
									<div class="siminal_anime_name" title="${similarAnime.name}">${similarAnime.name}</div>
								</a>
							</li>
						</#list>
					</ul>
				</div>
			</div>
			<div class="middle_right">
				<div class="akiba_panel">
					<div class="easyui-accordion" style="height:250px">
						<#list episodeUrls.keySet() as urlName>
							<#assign urls = episodeUrls[urlName]>
							<#if urls.size()!=0>
								<div title="${i18n.getText('episode_'+urlName)}">
									<#list urls as url>
										<a class="episode_btn" href="animePlayer?animeId=${anime.id}&episodeId=${url.episodeId}&urlName=${urlName}" title="${url.name}">${url.num}</a>
									</#list>
								</div>
							</#if>
						</#list>
					</div>
				</div>
			</div>
		</div>
	<body>
</html>